home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2728 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 6e | 74 70 64 32 2e 63 78 6f |Path: nn|tpd2.cxo|
|00000010| 2e 64 65 63 2e 63 6f 6d | 21 75 73 65 6e 65 74 0a |.dec.com|!usenet.|
|00000020| 46 72 6f 6d 3a 20 42 72 | 69 61 6e 20 48 69 62 62 |From: Br|ian Hibb|
|00000030| 65 72 74 20 3c 62 5f 68 | 69 62 62 65 72 74 40 63 |ert <b_h|ibbert@c|
|00000040| 73 63 33 32 2e 65 6e 65 | 74 2e 64 65 63 2e 63 6f |sc32.ene|t.dec.co|
|00000050| 6d 3e 0a 4e 65 77 73 67 | 72 6f 75 70 73 3a 20 63 |m>.Newsg|roups: c|
|00000060| 6f 6d 70 2e 6c 61 6e 67 | 2e 63 0a 53 75 62 6a 65 |omp.lang|.c.Subje|
|00000070| 63 74 3a 20 52 65 3a 20 | 43 61 6e 20 62 65 20 43 |ct: Re: |Can be C|
|00000080| 20 61 20 73 6f 20 73 74 | 72 61 6e 67 65 20 6c 61 | a so st|range la|
|00000090| 6e 67 75 61 67 65 20 3f | 3f 3f 2e 20 50 72 6f 62 |nguage ?|??. Prob|
|000000a0| 6c 65 6d 20 77 69 74 68 | 20 61 20 66 75 6e 63 74 |lem with| a funct|
|000000b0| 69 6f 6e 20 72 65 74 75 | 72 6e 69 6e 67 20 61 20 |ion retu|rning a |
|000000c0| 70 6f 69 6e 74 65 72 2e | 2e 2e 0a 44 61 74 65 3a |pointer.|...Date:|
|000000d0| 20 32 33 20 4a 61 6e 20 | 31 39 39 36 20 31 34 3a | 23 Jan |1996 14:|
|000000e0| 30 33 3a 33 30 20 47 4d | 54 0a 4f 72 67 61 6e 69 |03:30 GM|T.Organi|
|000000f0| 7a 61 74 69 6f 6e 3a 20 | 44 69 67 69 74 61 6c 20 |zation: |Digital |
|00000100| 45 71 75 69 70 6d 65 6e | 74 20 43 6f 72 70 6f 72 |Equipmen|t Corpor|
|00000110| 61 74 69 6f 6e 0a 4d 65 | 73 73 61 67 65 2d 49 44 |ation.Me|ssage-ID|
|00000120| 3a 20 3c 34 65 32 70 72 | 69 24 70 6b 39 40 6e 6e |: <4e2pr|i$pk9@nn|
|00000130| 74 70 64 32 2e 63 78 6f | 2e 64 65 63 2e 63 6f 6d |tpd2.cxo|.dec.com|
|00000140| 3e 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 34 |>.Refere|nces: <4|
|00000150| 65 30 31 35 6a 24 64 72 | 74 40 68 65 72 6d 65 73 |e015j$dr|t@hermes|
|00000160| 2e 66 75 6e 64 70 2e 61 | 63 2e 62 65 3e 20 3c 38 |.fundp.a|c.be> <8|
|00000170| 32 32 33 32 34 37 38 37 | 73 6e 7a 40 67 65 6e 65 |22324787|snz@gene|
|00000180| 73 69 73 2e 64 65 6d 6f | 6e 2e 63 6f 2e 75 6b 3e |sis.demo|n.co.uk>|
|00000190| 0a 4e 4e 54 50 2d 50 6f | 73 74 69 6e 67 2d 48 6f |.NNTP-Po|sting-Ho|
|000001a0| 73 74 3a 20 70 65 6f 31 | 30 31 32 5f 70 6f 72 74 |st: peo1|012_port|
|000001b0| 31 2e 70 65 6f 2e 64 65 | 63 2e 63 6f 6d 0a 4d 69 |1.peo.de|c.com.Mi|
|000001c0| 6d 65 2d 56 65 72 73 69 | 6f 6e 3a 20 31 2e 30 0a |me-Versi|on: 1.0.|
|000001d0| 43 6f 6e 74 65 6e 74 2d | 54 79 70 65 3a 20 74 65 |Content-|Type: te|
|000001e0| 78 74 2f 70 6c 61 69 6e | 3b 20 63 68 61 72 73 65 |xt/plain|; charse|
|000001f0| 74 3d 75 73 2d 61 73 63 | 69 69 0a 43 6f 6e 74 65 |t=us-asc|ii.Conte|
|00000200| 6e 74 2d 54 72 61 6e 73 | 66 65 72 2d 45 6e 63 6f |nt-Trans|fer-Enco|
|00000210| 64 69 6e 67 3a 20 37 62 | 69 74 0a 58 2d 4d 61 69 |ding: 7b|it.X-Mai|
|00000220| 6c 65 72 3a 20 4d 6f 7a | 69 6c 6c 61 20 31 2e 32 |ler: Moz|illa 1.2|
|00000230| 4e 20 28 57 69 6e 64 6f | 77 73 3b 20 49 3b 20 31 |N (Windo|ws; I; 1|
|00000240| 36 62 69 74 29 0a 54 6f | 3a 20 66 72 65 64 40 67 |6bit).To|: fred@g|
|00000250| 65 6e 65 73 69 73 2e 64 | 65 6d 6f 6e 2e 63 6f 2e |enesis.d|emon.co.|
|00000260| 75 6b 0a 0a 4c 61 77 72 | 65 6e 63 65 20 4b 69 72 |uk..Lawr|ence Kir|
|00000270| 62 79 20 3c 66 72 65 64 | 40 67 65 6e 65 73 69 73 |by <fred|@genesis|
|00000280| 2e 64 65 6d 6f 6e 2e 63 | 6f 2e 75 6b 3e 20 77 72 |.demon.c|o.uk> wr|
|00000290| 6f 74 65 3a 0a 3e 49 6e | 20 61 72 74 69 63 6c 65 |ote:.>In| article|
|000002a0| 20 3c 34 65 30 31 35 6a | 24 64 72 74 40 68 65 72 | <4e015j|$drt@her|
|000002b0| 6d 65 73 2e 66 75 6e 64 | 70 2e 61 63 2e 62 65 3e |mes.fund|p.ac.be>|
|000002c0| 0a 3e 20 20 20 20 20 20 | 20 20 20 20 20 66 6d 65 |.> | fme|
|000002d0| 6c 6f 40 62 69 71 2e 66 | 75 6e 64 70 2e 61 63 2e |lo@biq.f|undp.ac.|
|000002e0| 62 65 20 22 46 72 61 6e | 63 69 73 63 6f 20 4d 65 |be "Fran|cisco Me|
|000002f0| 6c 6f 20 4c 65 64 65 72 | 6d 61 6e 6e 22 20 77 72 |lo Leder|mann" wr|
|00000300| 69 74 65 73 3a 0a 3e 0a | 0a 2d 2d 2d 53 6e 69 70 |ites:.>.|.---Snip|
|00000310| 20 2d 2d 2d 0a 0a 0a 3e | 54 68 69 73 20 6c 6f 6f | ---...>|This loo|
|00000320| 6b 73 20 72 61 74 68 65 | 72 20 63 6f 6e 76 6f 6c |ks rathe|r convol|
|00000330| 75 74 65 64 20 61 6e 64 | 20 61 70 70 65 61 72 73 |uted and| appears|
|00000340| 20 74 6f 20 67 6f 20 69 | 6e 74 6f 20 61 6e 20 69 | to go i|nto an i|
|00000350| 6e 66 69 6e 69 74 65 20 | 6c 6f 6f 70 20 69 66 20 |nfinite |loop if |
|00000360| 69 74 0a 3e 68 69 74 73 | 20 74 68 65 20 65 6e 64 |it.>hits| the end|
|00000370| 20 6f 66 20 74 68 65 20 | 6c 69 73 74 2e 20 4d 61 | of the |list. Ma|
|00000380| 79 62 65 20 79 6f 75 20 | 77 61 6e 74 65 64 20 73 |ybe you |wanted s|
|00000390| 6f 6d 65 74 68 69 6e 67 | 20 6c 69 6b 65 3a 0a 3e |omething| like:.>|
|000003a0| 0a 3e 7b 0a 3e 20 20 20 | 20 77 68 69 6c 65 20 28 |.>{.> | while (|
|000003b0| 70 6f 73 69 74 69 6f 6e | 5f 70 74 72 20 21 3d 20 |position|_ptr != |
|000003c0| 4e 55 4c 4c 20 26 26 20 | 70 6f 73 69 74 69 6f 6e |NULL && |position|
|000003d0| 5f 70 74 72 2d 3e 72 65 | 73 5f 6e 75 6d 62 65 72 |_ptr->re|s_number|
|000003e0| 20 21 3d 20 72 65 73 69 | 64 75 65 5f 6e 75 6d 62 | != resi|due_numb|
|000003f0| 65 72 29 0a 3e 20 20 20 | 20 20 20 20 20 70 6f 73 |er).> | pos|
|00000400| 69 74 69 6f 6e 5f 70 74 | 72 20 3d 20 70 6f 73 69 |ition_pt|r = posi|
|00000410| 74 69 6f 6e 5f 70 74 72 | 2d 3e 63 6f 6f 68 5f 70 |tion_ptr|->cooh_p|
|00000420| 74 72 3b 0a 3e 0a 3e 20 | 20 20 20 72 65 74 75 72 |tr;.>.> | retur|
|00000430| 6e 20 70 6f 73 69 74 69 | 6f 6e 5f 70 74 72 3b 0a |n positi|on_ptr;.|
|00000440| 3e 7d 0a 3e 0a 3e 54 68 | 69 73 20 72 65 74 75 72 |>}.>.>Th|is retur|
|00000450| 6e 73 20 61 20 6e 75 6c | 6c 20 70 6f 69 6e 74 65 |ns a nul|l pointe|
|00000460| 72 20 69 66 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |r if the| end of |
|00000470| 74 68 65 20 6c 69 73 74 | 20 69 73 20 72 65 61 63 |the list| is reac|
|00000480| 68 65 64 20 77 69 74 68 | 6f 75 74 0a 3e 61 20 6d |hed with|out.>a m|
|00000490| 61 74 63 68 2e 20 49 74 | 20 61 6c 73 6f 20 63 6f |atch. It| also co|
|000004a0| 70 65 73 20 77 69 74 68 | 20 62 65 69 6e 67 20 70 |pes with| being p|
|000004b0| 61 73 73 65 64 20 61 6e | 20 65 6d 70 74 79 20 6c |assed an| empty l|
|000004c0| 69 73 74 2e 0a 0a 2d 2d | 2d 20 73 6e 69 70 20 2d |ist...--|- snip -|
|000004d0| 2d 2d 0a 0a 49 20 68 61 | 64 20 61 6c 6d 6f 73 74 |--..I ha|d almost|
|000004e0| 20 70 6f 73 74 65 64 20 | 61 6e 20 69 64 65 6e 74 | posted |an ident|
|000004f0| 69 63 61 6c 20 72 6f 75 | 74 69 6e 65 2c 20 62 75 |ical rou|tine, bu|
|00000500| 74 20 49 20 64 65 63 69 | 64 65 64 20 74 6f 20 6d |t I deci|ded to m|
|00000510| 6f 76 65 20 74 68 65 20 | 0a 63 6f 6d 70 61 72 69 |ove the |.compari|
|00000520| 73 6f 6e 20 6f 66 20 74 | 68 65 20 72 65 73 69 64 |son of t|he resid|
|00000530| 75 65 5f 6e 75 6d 62 65 | 72 20 6f 75 74 73 69 64 |ue_numbe|r outsid|
|00000540| 65 20 74 68 65 20 77 68 | 69 6c 65 20 74 65 73 74 |e the wh|ile test|
|00000550| 20 63 6f 6e 64 69 74 69 | 6f 6e 2e 20 20 49 66 20 | conditi|on. If |
|00000560| 0a 74 68 65 20 70 6f 73 | 69 74 69 6f 6e 5f 70 74 |.the pos|ition_pt|
|00000570| 72 20 69 73 20 4e 55 4c | 4c 20 61 6e 64 20 69 66 |r is NUL|L and if|
|00000580| 20 74 68 65 20 72 69 67 | 68 74 20 73 69 64 65 20 | the rig|ht side |
|00000590| 6f 66 20 74 68 65 20 26 | 26 20 6f 70 65 72 61 74 |of the &|& operat|
|000005a0| 6f 72 20 69 73 20 0a 65 | 76 61 6c 75 61 74 65 64 |or is .e|valuated|
|000005b0| 20 66 69 72 73 74 2c 20 | 74 68 65 20 63 6f 64 65 | first, |the code|
|000005c0| 20 77 69 6c 6c 20 63 61 | 75 73 65 20 61 20 73 65 | will ca|use a se|
|000005d0| 67 6d 65 6e 74 61 74 69 | 6f 6e 20 66 61 75 6c 74 |gmentati|on fault|
|000005e0| 20 6f 72 20 61 63 63 65 | 73 73 20 0a 76 69 6f 6c | or acce|ss .viol|
|000005f0| 61 74 69 6f 6e 20 6f 6e | 20 73 6f 6d 65 20 61 72 |ation on| some ar|
|00000600| 63 68 69 74 65 63 74 75 | 72 65 73 2e 20 20 4e 6f |chitectu|res. No|
|00000610| 74 20 6b 6e 6f 77 69 6e | 67 20 74 68 65 20 73 79 |t knowin|g the sy|
|00000620| 73 74 65 6d 20 74 68 61 | 74 20 74 68 69 73 20 77 |stem tha|t this w|
|00000630| 69 6c 6c 20 0a 62 65 20 | 72 75 6e 20 6f 6e 2c 20 |ill .be |run on, |
|00000640| 61 6e 64 20 6e 6f 74 20 | 6b 6e 6f 77 69 6e 67 20 |and not |knowing |
|00000650| 74 68 65 20 6f 72 64 65 | 72 20 74 68 61 74 20 74 |the orde|r that t|
|00000660| 68 65 20 63 6f 6d 70 69 | 6c 65 72 20 64 6f 65 73 |he compi|ler does|
|00000670| 20 74 68 65 20 0a 65 76 | 61 6c 75 61 74 69 6f 6e | the .ev|aluation|
|00000680| 2c 20 49 20 74 68 69 6e | 6b 20 69 74 27 73 20 62 |, I thin|k it's b|
|00000690| 65 73 74 20 74 6f 20 65 | 72 72 20 6f 6e 20 74 68 |est to e|rr on th|
|000006a0| 65 20 73 69 64 65 20 6f | 66 20 63 61 75 74 69 6f |e side o|f cautio|
|000006b0| 6e 2e 0a 0a 0a 0a 0a 3e | 2d 2d 20 0a 3e 2d 2d 2d |n......>|-- .>---|
|000006c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006e0| 2d 2d 2d 2d 2d 2d 0a 3e | 4c 61 77 72 65 6e 63 65 |------.>|Lawrence|
|000006f0| 20 4b 69 72 62 79 20 7c | 20 66 72 65 64 40 67 65 | Kirby || fred@ge|
|00000700| 6e 65 73 69 73 2e 64 65 | 6d 6f 6e 2e 63 6f 2e 75 |nesis.de|mon.co.u|
|00000710| 6b 0a 3e 57 69 6c 74 73 | 2c 20 45 6e 67 6c 61 6e |k.>Wilts|, Englan|
|00000720| 64 20 7c 20 37 30 37 33 | 34 2e 31 32 36 40 63 6f |d | 7073|4.126@co|
|00000730| 6d 70 75 73 65 72 76 65 | 2e 63 6f 6d 0a 3e 2d 2d |mpuserve|.com.>--|
|00000740| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000750| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000760| 2d 2d 2d 2d 2d 2d 2d 0a | 0a 0a 2d 2d 20 0a 2a 2a |-------.|..-- .**|
|00000770| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000780| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000790| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0a 42 72 |********|*****.Br|
|000007a0| 69 61 6e 20 48 69 62 62 | 65 72 74 20 20 62 5f 68 |ian Hibb|ert b_h|
|000007b0| 69 62 62 65 72 74 40 63 | 73 63 33 32 2e 65 6e 65 |ibbert@c|sc32.ene|
|000007c0| 74 2e 64 65 63 2e 63 6f | 6d 0a 44 69 67 69 74 61 |t.dec.co|m.Digita|
|000007d0| 6c 20 45 71 75 69 70 6d | 65 6e 74 20 43 6f 72 70 |l Equipm|ent Corp|
|000007e0| 6f 72 61 74 69 6f 6e 0a | 41 6c 6c 20 6f 70 69 6e |oration.|All opin|
|000007f0| 69 6f 6e 73 20 65 78 70 | 72 65 73 73 65 64 20 61 |ions exp|ressed a|
|00000800| 72 65 20 6d 79 20 6f 77 | 6e 20 61 6e 64 20 73 68 |re my ow|n and sh|
|00000810| 6f 75 6c 64 0a 6e 6f 74 | 20 62 65 20 61 73 73 75 |ould.not| be assu|
|00000820| 6d 65 64 20 74 6f 20 62 | 65 20 74 68 65 20 6f 70 |med to b|e the op|
|00000830| 69 6e 69 6f 6e 20 6f 66 | 20 6d 79 20 65 6d 70 6c |inion of| my empl|
|00000840| 6f 79 65 72 0a 0a 0a | |oyer... | |
+--------+-------------------------+-------------------------+--------+--------+